package com.fayakeji.ucpaas;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author <a href="mailto:wangruihuano@gmail.com">王瑞环</a>
 * @since 1.0
 */
@ConfigurationProperties(prefix = "ucpaas")
public class UcpaasProperties {

    private String sid;

    private String token;

    private String appid;

    private RequestUrls requestUrls;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public RequestUrls getRequestUrls() {
        return requestUrls;
    }

    public void setRequestUrls(RequestUrls requestUrls) {
        this.requestUrls = requestUrls;
    }

    class RequestUrls{

        private String singleSms = "https://open.ucpaas.com/ol/sms/sendsms";

        private String batchSms = "https://open.ucpaas.com/ol/sms/sendsms_batch";

        public String getSingleSms() {
            return singleSms;
        }

        public void setSingleSms(String singleSms) {
            this.singleSms = singleSms;
        }

        public String getBatchSms() {
            return batchSms;
        }

        public void setBatchSms(String batchSms) {
            this.batchSms = batchSms;
        }
    }
}
